﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="static_pub_list.aspx.cs" Inherits="admin_manager_static_pub_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>静态页面发布管理</title>
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
	<link href="../css/default.css" rel="stylesheet" type="text/css" />
	<script src="../js/jquery-1.4.2.min.js" type="text/javascript"></script>
	<script src="../js/jUtility.js" type="text/javascript"></script>
</head>
<body>
    <form name="form1" id="form1" method="post" runat="server">
    <input type="hidden" name="type" value="0" />
    <table width="100%" height="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="414" align="left" valign="top" class="rightbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="2" bgcolor="#A49B81"></td>
            </tr>
            <tr>
              <td height="25" background="../images/position_bg.gif" bgcolor="#EEF6FE" class="subnav" style="background-repeat:repeat-y; background-position:left; padding-left:6px; padding-top:3px;">
              <asp:Label ID="cnavi" runat="server" />
              </td>
            </tr>
            <tr>
              <td height="1" bgcolor="#B0C9E8"></td>
            </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td height="16"></td>
      </tr>
      <tr>
        <td height="21"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10">&nbsp;</td>
              <td width="100" align="left"><table width="80" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="3"><img src="../images/btn_blue_left.gif" width="3" height="21" /></td>
                    <td width="26" align="center" background="../images/btn_blue_center.jpg"><img src="../images/icon_add.gif" width="16" height="14" /></td>
                    <td align="left" background="../images/btn_blue_center.jpg" class="subnav"><asp:LinkButton ID="html" Text="全站生成" OnClick="allBtn_click" runat="server"></asp:LinkButton></td>
                    <td width="3"><img src="../images/btn_blue_right.jpg" width="3" height="21" /></td>
                  </tr>
              </table></td>             
             
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="16"></td>
      </tr>
      <tr>
        <td align="left" valign="top" style="padding-left:10px;">
	        <table width="98%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#ffffff" bordercolorlight="#2583BC">
	          <tr>
	            <td valign="top">
		            <table width="100%" border="0" cellspacing="0" cellpadding="0">
		            
		                <tr>
		                  <th>栏目ID</th>
		                  <th align="center">栏目名称</th>
		                  <th>操作</th>
		                </tr>
		                
		                <%--<%
                            //string css = "class='greytd'";
                            //for (int i = 0; i < datalist.Count; i++)
                            //{
                                 
                            //    OgilvyOne.Model.ColumnModel cm = (OgilvyOne.Model.ColumnModel)datalist[i];
                                //if ((i+1) % 2 == 0) css = "";
		                 %>--%>
                        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                            <ItemTemplate>
                            
		                <tr>
		                  <td class='greytd'>&nbsp;<%# Eval("Classid") %></td>
		                  <td class='greytd' align="center" width="65%"><%# Eval("Classname")%></td>
		                  <td class='greytd'>
                              <asp:LinkButton ID="LinkButton1" runat="server" 
                                  CommandArgument='<%# Eval("Classid") %>' OnCommand="LinkButton1_Command">首页HTML生成</asp:LinkButton>
		                  <a href="#">生成HTML</a>
		                  <a id="child" runat="server" href='<%# string.Format("static_pub_list.aspx?columnid={0}&layerid=", Eval("Classid")) %>'>子栏目</a>
		                  
		                    </td>
		                </tr>
		                </ItemTemplate>
                        </asp:Repeater>
		           
		           </table>
            
           		  </td>
         		</tr>
              </table>
        </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</form> 
</body>
</html>
